package com.sinosoft.tcmneim.service.impl;

import com.sinosoft.tcmneim.dao.TblDiatrmentLargeipmentDao;
import com.sinosoft.tcmneim.dataObject.TblDiatrmentLargeipment;
import com.sinosoft.tcmneim.service.TblDiatrmentLargeipmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TblDiatrmentLargeipmentServiceImpl implements TblDiatrmentLargeipmentService {

    @Resource
    private TblDiatrmentLargeipmentDao tblDiatrmentLargeipmentDao;


    @Override
    public List<TblDiatrmentLargeipment> list() {
        return tblDiatrmentLargeipmentDao.list();
    }

    @Override
    public List<TblDiatrmentLargeipment> selectByItemCode(String itemCode) {
        return tblDiatrmentLargeipmentDao.selectByItemCode(itemCode);
    }

    @Override
    public int insert(TblDiatrmentLargeipment tblDiatrmentLargeipment) {
        return tblDiatrmentLargeipmentDao.insert(tblDiatrmentLargeipment);
    }

    @Override
    public int updated(TblDiatrmentLargeipment tblDiatrmentLargeipment) {
        return tblDiatrmentLargeipmentDao.updated(tblDiatrmentLargeipment);
    }

    @Override
    public int deleteByItemCode(String itemCode) {
        return tblDiatrmentLargeipmentDao.deleteByItemCode(itemCode);
    }
}
